
all:
#	/usr/local/corex/bin/clang++  -I/usr/local/corex/include -I/root/corex-samples-4.1.3_aarch64/samples/cudasamples/samples/matrixMul/../../common/inc  --std=c++17 --cuda-path=/usr/local/corex --cuda-gpu-arch=ivcore11 -o main main.cu -Wl,-rpath,/usr/local/corex/lib64 -L/usr/local/corex/lib64 -lcublas -lcufft -lcudart
#	/usr/local/corex/bin/clang++  -I/usr/local/corex/include -I/root/corex-samples-4.1.3_aarch64/samples/cudasamples/samples/matrixMul/../../common/inc  --std=c++17 -fvisibility=hidden --cuda-path=/usr/local/corex --cuda-gpu-arch=ivcore11 -Wl,--disable-new-dtags -mllvm -pragma-unroll-threshold=100000 -mllvm -unroll-threshold=5000 -Wno-unused-command-line-argument -fcolor-diagnostics -O2 -DNDEBUG -o main2 main2.cu -Wl,-rpath,/usr/local/corex/lib64 -L/usr/local/corex/lib64 -lcublas -lcufft -lcudart
	/usr/local/corex/bin/clang++  \
		-I/usr/local/corex/include \
		-I/root/corex-samples-4.1.3_aarch64/samples/cudasamples/samples/matrixMul/../../common/inc  \
		--std=c++17 -fvisibility=hidden --cuda-path=/usr/local/corex --cuda-gpu-arch=ivcore11 \
		-fcolor-diagnostics -O2 -DNDEBUG -o main main.cu \
		-Wl,-rpath,/usr/local/corex/lib64 -L/usr/local/corex/lib64 -lcublas -lcufft -lcudart
#	/usr/local/corex/bin/clang++  \
		-I/usr/local/corex/include \
		-I/root/corex-samples-4.1.3_aarch64/samples/cudasamples/samples/matrixMul/../../common/inc  \
		--std=c++17 -fvisibility=hidden --cuda-path=/usr/local/corex --cuda-gpu-arch=ivcore11 \
		-Wl,--disable-new-dtags -mllvm -pragma-unroll-threshold=100000 \
		-mllvm -unroll-threshold=5000 -Wno-unused-command-line-argument \
		-fcolor-diagnostics -O2 -DNDEBUG -o main main.cu \
		-Wl,-rpath,/usr/local/corex/lib64 -L/usr/local/corex/lib64 -lcublas -lcufft -lcudart

clean:
	rm main -rf
